package com.java.pay.service;

import com.java.common.vo.R;
import com.java.pay.entity.PaymentInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.http.ResponseEntity;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiangli
 * @since 2019-12-15
 */
public interface PaymentInfoService extends IService<PaymentInfo> {

	R addPaymentInfo(PaymentInfo paymentInfo);

	ResponseEntity<PaymentInfo> getPayInfoByToken(String token);

	ResponseEntity<PaymentInfo> getPayInfoByOrderId(String orderId);

	R updatePayInfo(PaymentInfo paymentInfo);

}
